package com.changgou.pojo;

import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @author ：周
 * @ClassName: Comment 评价实体类
 * @date ：2019/8/15  11:19
 * @description ：
 * @version: 1.0
 */
public class Comment implements Serializable {

    @Id
    private String id; //主键
    private String userName;//用户名
    private Double conformity;//商品符合度
    private Double manner; //店家服务态度
    private Double speed;//物流发货速度
    private Double distribution;//配送员态度
    private String spuId;//spu主键
    private String nickName; //用户昵称
    private String userImage; //用户头像地址
    private String comment; //评价
    private Double skuGrade; // 商品评分
    private String skuImage;//用户晒图地址
    private String publishTime;//评价发布时间
    private Integer thumbup ;//点赞数
    private Integer commentNum ; //本条评论的评论数
    private List<Map<String,String>> specList ; //规格列表

    public List<Map<String,String>> getSpecList() {
        return specList;
    }

    public void setSpecList(List<Map<String,String>> specList) {
        this.specList = specList;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Double getConformity() {
        return conformity;
    }

    public void setConformity(Double conformity) {
        this.conformity = conformity;
    }

    public Double getManner() {
        return manner;
    }

    public void setManner(Double manner) {
        this.manner = manner;
    }

    public Double getSpeed() {
        return speed;
    }

    public void setSpeed(Double speed) {
        this.speed = speed;
    }

    public Double getDistribution() {
        return distribution;
    }

    public void setDistribution(Double distribution) {
        this.distribution = distribution;
    }

    public String getSpuId() {
        return spuId;
    }

    public void setSpuId(String spuId) {
        this.spuId = spuId;
    }


    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getUserImage() {
        return userImage;
    }

    public void setUserImage(String userImage) {
        this.userImage = userImage;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Double getSkuGrade() {
        return skuGrade;
    }

    public void setSkuGrade(Double skuGrade) {
        this.skuGrade = skuGrade;
    }

    public String getSkuImage() {
        return skuImage;
    }

    public void setSkuImage(String skuImage) {
        this.skuImage = skuImage;
    }

    public String getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(String publishTime) {
        this.publishTime = publishTime;
    }

    public Integer getThumbup() {
        return thumbup;
    }

    public void setThumbup(Integer thumbup) {
        this.thumbup = thumbup;
    }

    public Integer getCommentNum() {
        return commentNum;
    }

    public void setCommentNum(Integer commentNum) {
        this.commentNum = commentNum;
    }
}
